﻿<%@ Page Language="C#" Theme="skin_control" AutoEventWireup="true" CodeFile="SentSpecialPlan.aspx.cs"
    Inherits="SpecialPlan_SentSpecialPlan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>已发专项计划</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td class="firstbjcolor" colspan="8" style="height: 14px;">
                    <span class="currentHere">当前位置:专项计划管理-&gt;已发专项月计划</span>
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;">
                </td>
            </tr>
            <tr>
                <td colspan="8" style="background-image: url(../images/secondRow.gif); background-repeat: repeat-x;
                    height: 30px;">
                    部门:<asp:DropDownList ID="drpDepartment" runat="server" SkinID="dropdownlistSkin"
                        AutoPostBack="True" OnSelectedIndexChanged="drpDepartment_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:Button ID="btnVerifyCircuit" runat="server" Text="流程" SkinID="buttonSkin" 
                        onclick="btnVerifyCircuit_Click" />
                    <asp:Button ID="btnReturn" runat="server" Text="撤回" SkinID="buttonSkin" 
                        OnClientClick="return confirm('确认要撤回吗？');" onclick="btnReturn_Click" />
                    <asp:Button ID="btnUpload" runat="server" Text="上传文件" SkinID="buttonSkin" 
                        onclick="btnAttachmentPath_Click" />
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;">
                </td>
            </tr>
            <tr>
                <td colspan="8">
                    <div style="height: 14px; width: 98.1%" id="Div1">
                        <table cellpadding="0" cellspacing="1" style="background-color: #d0d0ce;" border="0"
                            width="100%">
                            <tr style="background-color: #ffffff;">
                                <td class="PlanModifyTableHeader" style="width: 4%" align="center">
                                    选择
                                </td>
                                <td class="PlanModifyTableHeader" style="width: 4%" valign="middle" align="center">
                                    计划编号
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 12%">
                                    计划名称
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 8%">
                                    完成时间
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 6%">
                                    责任部门
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 5%">
                                    责任人<a href="#" onclick="javascript:userinfo(parentNode.firstChild.id );"></a>
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 7%">
                                    配合部门<a href="#" onclick="javascript:slavedepartment(parentNode.firstChild.id );"></a>
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 10%">
                                    配合部门责任
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 6%">
                                    优先级
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" align="center" style="width: 6%">
                                    优先级
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" style="width: 5%" align="center">
                                    评估人<a href="#" onclick="javascript:userinfo(parentNode.firstChild.id );"></a>
                                </td>
                                <td class="PlanModifyTableHeader" valign="middle" style="width: 10%" align="center">
                                    评估意见
                                </td>
                                <td class="PlanModifyTableHeader" style="width: 8%" valign="middle" align="center">
                                    备注
                                </td>
                                <td align="center" class="PlanModifyTableHeader" style="width: 8%" valign="middle">
                                    附件下载
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="8" style="width: 100%; text-align: left;" align="center">
                    <div style="overflow-y: scroll; height: 500px; width: 100%" id="dvBody">
                        <asp:GridView ID="gdvSpecialPlan" runat="server" AutoGenerateColumns="False" DataKeyNames="Id,AttachmengPath,State"
                            SkinID="gridviewSkin" Width="98.1%" ShowHeader="False" EnableModelValidation="True">
                            <Columns>
                                <asp:TemplateField HeaderText="选择">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" Wrap="False" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" Wrap="False" />
                                    <ItemTemplate>
                                        <asp:CheckBox ID="ckbSelect" runat="server" SkinID="checkboxSkin" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="SpecialPlanSortId" HeaderText="计划编号" HtmlEncode="False">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" Wrap="False" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="WorkItem" HeaderText="计划名称" HtmlEncode="False">
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="12%" Wrap="True" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="12%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}"
                                    HtmlEncode="False">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="False" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="MasterPeople" HeaderText="责任人" HtmlEncode="False">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" Wrap="False" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="SlaveDepartment" HeaderText="配合部门" HtmlEncode="False">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任" HtmlEncode="False">
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="10%" Wrap="True" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="PriorityLevel" HeaderText="优先级" HtmlEncode="False">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="6%" Wrap="True" />
                                </asp:BoundField>
                                <asp:BoundField DataField="PriorityLevel" HeaderText="优先级" HtmlEncode="False">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="False" />
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="6%" Wrap="True" />
                                </asp:BoundField>
                                <asp:BoundField DataField="EvaluatePeople" HeaderText="评估人" HtmlEncode="False">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" Wrap="False" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="5%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="CheckNote" HeaderText="评估意见" HtmlEncode="False">
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" Wrap="true" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" Wrap="False" />
                                </asp:BoundField>
                                <asp:BoundField DataField="Remart" HeaderText="备注" HtmlEncode="False">
                                    <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="8%" />
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="附件下载">
                                    <HeaderStyle Width="8%" />
                                    <ItemTemplate>
                                        <asp:Button ID="btnDownLoad" runat="server" SkinID="buttonSkin" Text="下载" OnClick="btnDownLoad_Click" />
                                        <asp:Label ID="lblAlert" runat="server" SkinID="labelSkin" Visible="False"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="8%" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="AttachmengPath" HeaderText="文件保存路径" Visible="False" HtmlEncode="False" />
                                <asp:BoundField DataField="Id" HeaderText="id" Visible="False" />
                                <asp:BoundField DataField="State" HeaderText="State" Visible="False" />
                            </Columns>
                            <HeaderStyle Font-Bold="False" />
                        </asp:GridView>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
